package com.wuyou.service.impl;

import com.wuyou.entity.TbFurniture;
import com.wuyou.mapper.TbFurnitureMapper;
import com.wuyou.service.ITbFurnitureService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author yz
 * @since 2022-10-06
 */
@Service
public class TbFurnitureServiceImpl extends ServiceImpl<TbFurnitureMapper, TbFurniture> implements ITbFurnitureService {

    @Autowired
    private TbFurnitureMapper mapper;


    @Override
    public TbFurniture selectByName(String furnitureName) {
        TbFurniture furniture = mapper.selectByName(furnitureName);
        return furniture;
    }
}
